<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>lianxi03</title>
  </head>
  <body>
    <script type="text/javascript">
    console.log("===========eval=============");
   var str = "var a = 1"
   eval(str);
   console.log(a);
   console.log("=========== Object对象=============");
      var str1 = {a:1}
      var O=new Object(str);
      console.log(O);
      console.log("===========部署在Object对象本身=============");
      Object.print = function(o){
        console.log(o);
      }
      var o=new Object();
      Object.print(o);
      console.log("===========部署在Object.protoype对象=============");
      Object.protoype.print=function(){
        console.log(this);
      }
      var o2=new
      console.log();
    </script>
  </body>
</html>
0
© OSChina.NET 使用条款 隐私 联系我们
